package top.caoayu.base.service.impl;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import top.caoayu.base.entity.LoginUserPasswordDetail;

import javax.annotation.Resource;

public class LoginUserPasswordDetailServiceImpl implements UserDetailsService {
    @Resource
    private LoginUserPasswordDetail loginUserPasswordDetail;
    @Override
    public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
        return loginUserPasswordDetail;
    }
}
